
    <div class="plateReply">
        <div class="title">
            <h3>回复数量：{{ $topicCount }}</h3>
            {{--<a href="#" title="投票">投票</a>--}}
            {{--<a href="#" class="active" title="时间">时间</a>--}}
        </div>

        <hr>
        <div class="replyList topic-reply">
            @foreach ($replies as $index => $reply)
                <div class="media" name="reply{{ $reply->id }}" id="reply{{ $reply->id }}">
                    <div class="media-left media-middle text-center">
                        <a href="{{ route('users.show', [$reply->user_id]) }}">
                            <img class="media-object" src="{{ $reply->user->avatar }}" alt="{{ $reply->user->name }}" style="width: 75px;height: 75px;border-radius: 5px;">
                        </a>
                        <p>

                        </p>
                    </div>
                    <div class="media-body">
                        <h4 class="media-heading">
                            {{--#{{$index}}--}}
                            <a href="{{ route('users.show', [$reply->user_id]) }}?feeds=reply" title="{{ $reply->user->name }}">
                                {{ $reply->user->name }}
                            </a>
                            <small>
                                <span> •  </span>
                                <span class="meta" title="{{ $reply->created_at }}">{{ $reply->created_at->diffForHumans() }}</span>
                            </small>


                            {{-- 回复删除按钮 --}}
                            @can('destroy', $reply)
                                <span class="meta pull-right">
                                    <form action="{{ route('replies.destroy', $reply->id) }}" method="post">
                                        {{ csrf_field() }}
                                        {{ method_field('DELETE') }}
                                        <button type="submit" class="btn btn-default btn-xs pull-left">
                                            <i class="glyphicon glyphicon-trash"></i>
                                        </button>
                                    </form>
                                </span>
                            @endcan
                        </h4>
                        {!! $reply->content !!}
                    </div>
                </div>
                <hr/>
            @endforeach
                {!! $replies->render() !!}
        </div>
    </div>